const mongoose = require("mongoose")
const Schema = mongoose.Schema
const ProductType = {
  title: String,
  introduction: String,
  cover: String,
  detail: String,
  editTime: Date,
  userid: String
}
const ProductModel = mongoose.model("product", new Schema(ProductType))
module.exports = ProductModel
